import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:shimmer/shimmer.dart';

class DAppTopiItemSkeleton extends StatelessWidget {
  DAppTopiItemSkeleton({super.key});

  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return SizedBox(
      width: 78.w,
      child: Column(
        mainAxisAlignment: MainAxisAlignment.center,
        children: [
          Shimmer.fromColors(
              baseColor: Color.fromRGBO(246, 246, 246, 1),
              highlightColor: Colors.grey.shade300,
              child: Container(
                height: 40.w,
                width: 40.w,
                decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(50.w),
                  color: Colors.grey,
                ),
              )),
          SizedBox(
            height: 3.w,
          ),
          Shimmer.fromColors(
              baseColor: Color.fromRGBO(246, 246, 246, 1),
              highlightColor: Colors.grey.shade300,
              child: Container(
                height: 17.w,
                width: 70.w,
                decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(4.w),
                  color: Colors.grey,
                ),
              ))
        ],
      ),
    );
  }
}
